package com.doyambean.springcloud.fegin.demo.service;


import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;

@FeignClient(name = "server-demo", contextId = "server-demo", path = "/serverdemo")
public interface FeignClientService {

    @GetMapping("do")
    public String doDemo();
}
